package com.zb.util.annotation;

import java.lang.annotation.Documented;
import java.lang.annotation.Retention;
import java.lang.annotation.Target;

import com.zb.util.EnumCodeValue;
import com.zb.util.OmsConstant;

import static java.lang.annotation.ElementType.FIELD;
import static java.lang.annotation.RetentionPolicy.RUNTIME;

/**
 * The annotated {@code field's} display label can be set by this annotation.
 * Currently this annotation is used in excel export for header name.
 *
 * @author Luo Yu Ping
 */
@Documented
@Retention(RUNTIME)
@Target({FIELD})
public @interface RelateCodeEnum
{
	Class<? extends EnumCodeValue> value();
}
